<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

// use frontend\assets\SmsAsset; //加载样式
// SmsAsset::register($this);

// 单独加载css/js 文件
$this->registerCssFile('@web/public/css/sms.css');

// $this->registerJsFile('@web/public/js/sms.js');

$form = ActiveForm::begin([
    'id' => 'login-form',
    'options' => ['class' => 'form-horizontal'],
    'method'=>'post',
]) ?>

<div class="smsfrom">
    <h3>阿里云短信发送：</h3>
    <form>
        <div class="form-inline f-moile">
            <label for="exampleInputMobile">手机号</label>
            <input type="mobile" class="form-control" id="exampleInputMobile" placeholder="手机号" name='mobile' >
        </div> 
        <div class="form-inline">
            <label for="exampleInputCode">验证码</label>
            <input type="text" class="form-control" id="exampleInputCode" placeholder="验证码" name='code'>
            <a  class="btn btn-primary send-code" >获取验证码</a>
        </div>
        <!-- <button type="submit" class="btn btn-primary subm">确定</button>           -->
        <a type="submit" class="btn btn-primary subm">确定</a>          
    </form>
</div>
<?php ActiveForm::end() ?>

